package tripx.site;

import tripx.sql.QueryObject;

public class DbCity extends QueryObject {

	private int cid; // city id

	public String cname; // city name

	public String intro; // city introduction

	public DbCity(String cname, String intro) {
		this(-1, cname, intro);
	}

	public DbCity(int cid, String cname, String intro) {
		this.cid = cid;
		this.cname = cname;
		this.intro = intro;
	}

	public int getCityId() {
		return cid;
	}
}
